/*
* $Id: Factories.h 2 2009-12-23 13:58:02Z volok-aleksej@yandex.ru $
*
* Copyright 2008 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _FACTORIES_H_
#define _FACTORIES_H_

#include "InterfaceDC.h"

struct sWindow;

class CValidateFactory
{
public:
	static IValidate* CreateValidate(const std::tstring& strType, const std::tstring& strValue);
};

class CControlFactory
{
public:
	static IControl* CreateControl(sWindow* pWindow, CWnd* pParent, int nId);
};

#endif /*_FACTORIES_H_*/